<?php
class Tag extends Model {
	protected $validate = array(
		array('tagname', 'require', '标签名不能为空'),
	);
	
	public function setTable() {
		$this->table = $this->db->getTable('tag');
	}
	
	public static function getTable() {
		return $this->db->getTable('tag');
	}
}
?>